<? include '../server_config.php'; ?>
<? 

if($_SESSION['admin']!=true)
{
	?>
	<script>location.href='login.php'</script>
	<?
	return;
}

?>
<br>
info<br>
<br>
<hr>
<br>
<form action='info_proc.php' method='post'>

<?
	$sql = "SELECT * FROM ud_info ORDER BY update_timestamp DESC LIMIT 1;";
	
	
	$result = mysql_query($sql,$connect);

	$row = mysql_fetch_row($result);

?>
	<textarea name='content' cols=60 rows=20><? echo $row[0];?></textarea>
	<br>
	<? echo $row[1]; ?>
	<br>
	<input type='submit' value='저장'>
	<br>
</form>

